/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.model;

import com.exception.DataException;
import com.javabeans.Gestion;
import java.util.List;
/**
 * @author Administrador
 */
public interface GestionManager {
    public int getIdGestion()throws DataException;
    public void saveGestion(Gestion g)throws DataException;
    public List<Gestion> getGestVigentesYfuturos()throws DataException;
    public List<Gestion> getGestVigentesYfuturosPorFacult(int idFacultad)throws DataException;
    public List<Gestion> getGestPasadas()throws DataException;
    public List<Gestion> getGestPasadasPorFacul(int idFacultad)throws DataException;
    
    public List<Gestion> getGestVigentesYfuturosBasico() throws DataException;
    public List<Gestion> getGestVigentesYfuturosPorFacultBasico(int idFacultad) throws DataException;
    public List<Gestion> getGestPasadasBasico() throws DataException;
    public List<Gestion> getGestPasadasPorFaculBasico(int idFacultad) throws DataException;
    
    public Gestion getGestion(int idGestion) throws DataException;
    public Gestion getGestionBasic(int idGestion) throws DataException;
    public void updateGestion(Gestion g) throws DataException;
    public boolean isUseInMatricula(int idGestion) throws DataException;
    public boolean isUseInInscrito(int idGestion) throws DataException;
    public void deleteGestion(int idGestion) throws DataException;
    public void cerrarGestion(int idGestion, int idFacultad) throws DataException;
    public List<Gestion> getGestionesByFacultYear(int idFacultad, int year) throws DataException;
    public void updateItiGenerado(int idGestion) throws DataException;
    public List<Gestion> getGestionesBasicByYear(int year) throws DataException;
}
